/**
 * losenote.com Inc.
 * Copyright (c) 2013-2013 All Rights Reserved.
 */
package com.losenote.model;

import java.util.Date;

/**
 * 模型的基本属性，主要包含基本模型一般都含有的创建时间/修改时间，创建人和修改人
 * 
 * @author danjingyu
 * @version $Id: BaseModel.java, v 0.1 2013-10-26 下午4:19:35 danjingyu Exp $
 */
public class BaseModel extends ToString {

    private static final long serialVersionUID = 1L;

    /**创建时间*/
    protected Date            gmtCreate        = new Date();

    /**修改时间*/
    protected Date            gmtModified      = new Date();

    /**创建人*/
    protected String          creator;

    /**最后修改人*/
    protected String          lastModifier;

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getLastModifier() {
        return lastModifier;
    }

    public void setLastModifier(String lastModifier) {
        this.lastModifier = lastModifier;
    }

}
